<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="controller.*"%>
<%@page import ="persistence.*"%>
<%

        String username,subMenu;
        if(session.getAttribute("username")==null){
           username="Usuario";
           subMenu="Login.jsp";
        }else{
            username= (String)session.getAttribute("username");
            subMenu="salir.jsp";
        }
        GenerarHTMLIndex html= new GenerarHTMLIndex();
        out.print(html.generarHTLMHeadDos("Inmobiliaria Latorre & Asoc."));
        out.print(html.generarHTMLMenu(username,subMenu));
        out.print(html.generarHTMLColumnOne());
        out.print(html.genererHTMLSlider());
        out.print(html.generearHTMLColumnfour());
        out.print(html.generarHTMLFooter());
        out.print(html.generarHTMLFinal());
    %>